import request from '@/utils/request'

export function query_ac_ru_Task(query) {
    return request({
        url: '/activiti/startProcessInstance',
        method: 'get'

    })
}
export function mycomlete(daibanid) {
    return request({
        url: '/activiti/mycplete',
        method: 'get',
        params: { daibanid }
    })
}
export function queryTask(query) {
    return request({
        url: '/a/completTask',
        method: 'get'

    })
}
export function fetchArticle(query) {
    return request({
        url: '/a/queryHistoricActivityInstance',
        method: 'get',

    })
}
export function queryactinst(query) {
    return request({
        url: '/activiti/yonghudaibanPaita',
        method: 'get'

    })
}
export function queryactinst(query) {
    return request({
        url: '/activiti/wodeyibanPait',
        method: 'get'

    })
}
export function getInfo(token) {
    return request({
        url: '/user/info',
        method: 'get',
        params: { token }
    })
}
export function logout() {
    return request({
        url: '/user/logout',
        method: 'post'
    })
}